﻿@inherits Umbraco.Web.Macros.PartialViewMacroPage
@using umbraco.MacroEngines


<!--content-->
<dlociv class="row">
    <div class="span11">
        <h2>
            @Model.Content.GetPropertyValue("commonTitle")</h2>

       @foreach (IPublishedContent portf in Model.Content.Descendants("SubPortfolio"))
        {
            dynamic logo = new DynamicMedia(portf.GetPropertyValue("commonImage"));
      
        <div class="wrapper img_col1">
            <a class="fancybox" href="@portf.GetPropertyValue("commonUrl")" target="_blank" rel="index">
                <img src="@logo.umbracoFile" alt="" class="img-polaroid"><span class="zoom animate"><span
                    class="txt">@portf.GetPropertyValue("commonTitle")</span></span> </a>
            <p>
                <a href="@portf.GetPropertyValue("commonUrl")" target="_blank">
                @portf.GetPropertyValue("commonDescription")</a></p>
        </div>

         }
      
    </div>
</div>

